@import '../../style/mask.scss';

.dui-dialog {
  &__body {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: scale(1.185) translate(-50%, -50%);
    transform-origin: 0 0;
    transition: all .3s;
    overflow: hidden;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    &--default {
      width: 320px;
      max-width: 90%;
      line-height: 1.4;
      font-size: 16px;
      text-align: center;
      background-color: #fff;
      border-radius: 12px;
    }
  }
  &__hd+&__ft {
    margin-top: 32px;
  }
  &__content:first-child {
    padding-top: 64px;
  }
  &.show {
    .dui-dialog__body {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1) translate(-50%, -50%);
    }
  }
}
